<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./echarts.js"></script>
</head>
<body>
    <div id="xq" style="width: 500px; height: 350px;">

    </div>
</body>
<script>
    var myEcharts = echarts.init(document.getElementById('xq'))
    var option={
        xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value',
    axisLine: {
        show:true,
      symbol: 'arrow',
      lineStyle: {
        type: 'dashed'
      }
    }
    
  },
  series: [
    {
      data: [150, 230, 224, 218, 135, 147, 260],
      type: 'line'
    }
  ]
    };
    myEcharts.setOption(option);

</script>
</html>